<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false"
    CodeFile="QueryCharge.aspx.vb" Inherits="WebForm_SysParam_Apply" Title="Untitled Page" %>

<%@ Register Src="OtherTelNo.ascx" TagName="OtherTelNo" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:HiddenField ID="hiUID" runat="server" />
            <asp:HiddenField ID="hidbName" runat="server" />
            <asp:ObjectDataSource ID="dbCharge" runat="server" SelectMethod="GetQueryChargeData" TypeName="Telecom.BBL.QueryChargeBBL">
                  <SelectParameters>
                     <asp:ControlParameter ControlID="txtMonth" Name="Month" PropertyName="Text" 
                        Type="String" />
                     <asp:ControlParameter ControlID="txtPhone" Name="PhoneNo" PropertyName="Text" 
                        Type="String" />
                     <asp:ControlParameter ControlID="hiDBName" Name="dbName" PropertyName="Value" 
                                        Type="String" />
                  </SelectParameters>
            </asp:ObjectDataSource>
            <table border="1" width="1000px">
                <tr>
                    <td colspan="6" style="text-align: center">
                        <asp:Label ID="lblTitle" runat="server" Font-Bold="True" Font-Size="24px" meta:resourcekey='lblTitle'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                       <asp:Label ID="lblMonth" runat="server" meta:resourcekey="lblMonth"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtMonth" runat="server"></asp:TextBox>
                        
                    </td>
                    <td align="right">
                       <asp:Label ID="lblPhone" runat="server" meta:resourcekey="lblPhone"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtPhone" runat="server">0975105557</asp:TextBox>
                    </td>
                    <td align="right">
                        
                    </td>
                    <td>
                       
                        <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
                        <asp:Button ID="btnImport" runat="server" meta:resourcekey="btnImport" 
                            Visible="False" />
                    </td>
                </tr>
            </table>
            <TServerControl:TGridView ID="gvQueryCharge" runat="server" AllowHoverEffect="False" DataSourceID="dbCharge"
                AllowHoverSelect="False" AutoGenerateColumns="False" ShowFooterWhenEmpty="False"
                ShowHeaderWhenEmpty="True" SkinID="pager" TotalRowCount="0" Width="747px" AllowPaging="True" Visible="false">
                <EmptyDataTemplate>
                    <asp:Label ID="lblEmpty" runat="server" ForeColor="Red"  meta:resourcekey="lblEmpty"></asp:Label>
                </EmptyDataTemplate>
                <Columns>
                    <asp:BoundField DataField="PhoneNo" meta:resourcekey="gvPhoneNo" />
                    <asp:BoundField DataField="Name" meta:resourcekey="gvName" />
                    <asp:BoundField DataField="DialDate" meta:resourcekey="gvDialDate" DataFormatString="{0:yyyy/MM/dd HH:mm:ss}" />
                    <asp:BoundField DataField="DialNo" meta:resourcekey="gvDialNo" />
                    <asp:BoundField DataField="DialFee" meta:resourcekey="gvDialFee" />
                     <asp:BoundField DataField="Ttl" meta:resourcekey="gvTtl" />
                </Columns>
            </TServerControl:TGridView>
            <br />
            <uc1:OtherTelNo ID="OtherTelNo1" runat="server" Visible="false" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
